<?php
/**
 * Return instance of the core or its property if provided
 *
 * @param	string	$prop
 * @return	object
 */
function service($prop)
{
	$c = "\core\Core";

	return $c::GetInstance()->GetService($prop);
}